﻿using Acme.BookStore.WorkflowStepBody;
using WorkflowCore.Interface;

namespace Acme.BookStore.Workflow
{
    public class RbacWorkflowCoreService : IWorkflow
    {
        public string Id => "RbacWorkflowCoreService";

        public int Version => 1;
        public void Build(IWorkflowBuilder<object> builder)
        {
            builder
               .StartWith<HelloWorld>()
               .Then<GoodbyeWorld>();


        }


    }
}
